package com.peng.mybatis_framework.controller;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
	
	private static final Logger LOGGER = Logger.getLogger(TestController.class);

	@RequestMapping("/")
	public void log() {
		LOGGER.info("info");
		LOGGER.error("error");
		LOGGER.debug("debug");
	}
}
